Skip to content

Conversation

Eric90Lee
Copy link

support repeated calls bootstrapFileField()

support repeated calls bootstrapFileField()
});
// Check file type
if(fileTypes && fileTypes.indexOf(file.type) < 0) {
$(this).trigger('fileSelectionError', [file.name +' : 您选择的文件类型不支持!', fileList]);
Copy link
Owner

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Can you please translate "您选择的文件类型不支持!" to English?

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I just put in to google and it says "The file type you selected is not supported!"

@ajaxray
Copy link
Owner

ajaxray commented Nov 28, 2017

Thank you very much for your PR! 😍
Would you please enrich the contribution by adding 2 small things?

  • Please see my comment line 145
  • Add an example of repeated calls in README

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants